package com.laowang.sercice;

import com.laowang.dataoject.ProductCategory;

import java.util.List;
import java.util.Optional;

/**
 * Created by Administrator on 2019/1/9.
 */
public interface CategoryService {
    Optional<ProductCategory> findById(Integer id);
    List<ProductCategory> findAll();
    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);
    ProductCategory save(ProductCategory productCategory);

}
